package com.gy.hsim.bservice.userGroupingManagement.bean;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @ClassName: Member
 * @Description: 群成员实体bean
 * @author quanrj 
 * @date 2016-01-16 上午11:57:33
 */
public class Member {
	
	/**
	 * 成员表id
	 */
	private Integer memberId;
	
	/**
	 * 群ID
	 */
	private String memberGroupId;
	
	/**
	 * 成员ID（资源号等）
	 */
	private String memberUserId;
	
	/**
	 * 成员群名片
	 */
	private String memberUserNameCard;
	
	/**
	 * 验证人
	 */
	private String memberVerificationBy;
	
	/**
	 * 群成员角色,H表示群主，M表示管理员，N表示普通成员
	 */
	private String memberRole;
	
	/**
	 * 禁言标识,Y表示被禁言，N表示不是
	 */
	private String memberSilenceFlag;
	
	/**
	 * 备注,管理员和群主给成员设置的标注，只限管理员查看
	 */
	private String memberUserRemark;
	
	/**
	 * 加入时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private String memberAddadDate;
	
	/**
	 * Y表示有效，N表示无效，默认Y
	 */
	private String memberIsactive;
	
	/**
	 * 更新时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private String memberUpdated;
	
	/**
	 * 更新人
	 */
	private String memberUpdateBy;
	
	/**
	 * 更新类型,1.成员设置群名片 2.群主设置管理员  3.群管理员对普通成员设置禁言  4.群管理员对群成员进行备注
	 */
	private String memberUpdateType;
	
	/**
	 * 所在的群名称
	 */
	private String memberGroupName;
	
	/**
	 * 成员验证Id
	 */
	private String memberVerifyId;
	
	/**
	 * 用户昵称
	 */
	private String memberNickName;
	
	/**
	 * 管理员昵称
	 */
	private String memberManagerNickName;
	
	/**
	 * 请求加入群信息
	 */
	private String memberReqInfo;

	public Integer getMemberId() {
		return memberId;
	}

	public void setMemberId(Integer memberId) {
		this.memberId = memberId;
	}

	public String getMemberGroupId() {
		return memberGroupId;
	}

	public void setMemberGroupId(String memberGroupId) {
		this.memberGroupId = memberGroupId;
	}

	public String getMemberUserId() {
		return memberUserId;
	}

	public void setMemberUserId(String memberUserId) {
		this.memberUserId = memberUserId;
	}

	public String getMemberUserNameCard() {
		return memberUserNameCard;
	}

	public void setMemberUserNameCard(String memberUserNameCard) {
		this.memberUserNameCard = memberUserNameCard;
	}
		
	public String getMemberRole() {
		return memberRole;
	}

	public void setMemberRole(String memberRole) {
		this.memberRole = memberRole;
	}
	
	public String getMemberSilenceFlag() {
		return memberSilenceFlag;
	}

	public void setMemberSilenceFlag(String memberSilenceFlag) {
		this.memberSilenceFlag = memberSilenceFlag;
	}

	public String getMemberUserRemark() {
		return memberUserRemark;
	}

	public void setMemberUserRemark(String memberUserRemark) {
		this.memberUserRemark = memberUserRemark;
	}

	public String getMemberAddadDate() {
		return memberAddadDate;
	}

	public void setMemberAddadDate(String memberAddadDate) {
		this.memberAddadDate = memberAddadDate.substring(0,memberAddadDate.lastIndexOf("."));
	}

	public String getMemberVerificationBy() {
		return memberVerificationBy;
	}

	public void setMemberVerificationBy(String memberVerificationBy) {
		this.memberVerificationBy = memberVerificationBy;
	}

	public String getMemberUpdated() {
		return memberUpdated;
	}

	public void setMemberUpdated(String memberUpdated) {
		this.memberUpdated = memberUpdated.substring(0,memberUpdated.lastIndexOf("."));
	}

	public String getMemberUpdateBy() {
		return memberUpdateBy;
	}

	public void setMemberUpdateBy(String memberUpdateBy) {
		this.memberUpdateBy = memberUpdateBy;
	}

	public String getMemberUpdateType() {
		return memberUpdateType;
	}

	public void setMemberUpdateType(String memberUpdateType) {
		this.memberUpdateType = memberUpdateType;
	}

	public String getMemberGroupName() {
		return memberGroupName;
	}

	public void setMemberGroupName(String memberGroupName) {
		this.memberGroupName = memberGroupName;
	}

	public String getMemberIsactive() {
		return memberIsactive;
	}

	public void setMemberIsactive(String memberIsactive) {
		this.memberIsactive = memberIsactive;
	}

	public String getMemberVerifyId() {
		return memberVerifyId;
	}

	public void setMemberVerifyId(String memberVerifyId) {
		this.memberVerifyId = memberVerifyId;
	}

	public String getMemberNickName() {
		return memberNickName;
	}

	public void setMemberNickName(String memberNickName) {
		this.memberNickName = memberNickName;
	}

	public String getMemberManagerNickName() {
		return memberManagerNickName;
	}

	public void setMemberManagerNickName(String memberManagerNickName) {
		this.memberManagerNickName = memberManagerNickName;
	}

	public String getMemberReqInfo() {
		return memberReqInfo;
	}

	public void setMemberReqInfo(String memberReqInfo) {
		this.memberReqInfo = memberReqInfo;
	}
	
	
}
